﻿@model Jinshiyu.Models.ChangePasswordModel
@{
    ViewBag.Title = "修改密码";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
    
    <div>
        <div id="中栏3">
            <div id="中栏标题3">
                <p class="栏目标题">
                    修改密码</p>
            </div>
            <div id="中栏内容3">
                <fieldset class="登陆页面左侧整体样式">
                    <legend></legend>
                    <div class="登陆框">
                        <div class="手机号">
                        &nbsp;&nbsp;@Html.LabelFor(m => m.OldPassword)：
                        </div>
                        <div class="editor-field">
                            @Html.PasswordFor(m => m.OldPassword)
                            @Html.ValidationMessageFor(m => m.OldPassword)
                        </div>
                    </div>
                    <div class="登陆框">
                        <div class="手机号">
                            &nbsp;&nbsp;&nbsp;&nbsp;@Html.LabelFor(m => m.NewPassword)：
                        </div>
                        <div class="editor-field">
                            @Html.PasswordFor(m => m.NewPassword)
                            @Html.ValidationMessageFor(m => m.NewPassword)
                        </div>
                    </div>
                    <div class="登陆框">
                        <div class="手机号">
                            @Html.LabelFor(m => m.ConfirmPassword)：
                        </div>
                        <div class="editor-field">
                            @Html.PasswordFor(m => m.ConfirmPassword)
                            @Html.ValidationMessageFor(m => m.ConfirmPassword)
                        </div>
                    </div>
                    <div id="修改密码错误">@Html.ValidationSummary(true, "修改密码失败，请再次尝试")</div>
                    <div id="修改密码按钮"><input type="submit" class="按钮样式DLK" value="修改密码" /></div>
                </fieldset>
                <div class="中间分割线">
                </div>
                <div class="登陆右">
                    <div>
                        <p class="登陆页面右注释">
                            <h1>
                                <p>
                                    新密码的最小长度必须为 @Membership.MinRequiredPasswordLength 位字符。
                                </p>
                            </h1>
                            为保证用户资料的安全，本网站绝不会向外界透露任何用户资料，请放心注册。谢谢！
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </div>
}
